
<?php PremiumPress_Header();  ?>


<div id="premiumpress_box1" class="premiumpress_box premiumpress_box-100"><div class="premiumpress_boxin"><div class="header">
<h3><img src="<?php bloginfo('template_url'); ?>/images/premiumpress/h-ico/Credit%20card.png" align="absmiddle"> Payment Setup</h3>							 

</div>
<div style="padding:10px;padding-top:0px;">
         
			<?php 

include("_paymentgateways.php");

$i=1;
if(is_array($gatway)){
foreach($gatway as $Value){
?>
<form method="post"  target="_self" <?php if($GLOBALS['sf'] ==1){ ?>onsubmit="UpgradeVIP();return false;"<?php } ?>>
<input name="submitted" type="hidden" value="yes" />
<table style="margin-bottom: 20px;"></table>
<h3 class="title"> <a href="javascript:void(0);" onClick="toggleLayer('g_<?php echo $i ?>');" style="text-decoration:none; color:#333;"><img src="<?php bloginfo('template_url'); ?>/images/add.png" align="absmiddle"> <?php echo $Value['name'] ?> </a> </h3>
<table class="maintable" style="background:white; display:none;" id="g_<?php echo $i ?>">	

	<?php foreach($Value['fields'] as $key => $field){   ?>
	<tr class="mainrow"><td class="titledesc"><?php echo $field['name'] ?></td><td class="forminp"><?php echo MakeField($field['type'], $field['fieldname'],get_option($field['fieldname']),$field['list'], $field['default']) ?></td></tr>
	<?php } ?>

<tr>
<td colspan="3"><input class="premiumpress_button" type="submit" value="<?php _e('Save changes','cp')?>" style="color:white;" /></td>
</tr>
</table>
</form>
<?php $i++; } }  ?>		 

</div>                    
</div>
</div>
<div class="clearfix"></div>



 
